package cn.com.dhcc.turbo.entity.registry;

import java.io.Serializable;
import java.util.Date;

import cn.com.dhcc.app.core.annotation.SiColumn;
import cn.com.dhcc.app.core.annotation.SiNotDbColumn;
import cn.com.dhcc.app.core.annotation.SiTable;
import cn.com.dhcc.app.core.base.ModuleFeatureBean;

/**
 * 适配器基础信息
 * 
 * @日期 2015-4-20 上午9:58:45
 * @作者  高强
 */
@SiTable(name = "turbo_adapter_base")
public class AdapterBase extends ModuleFeatureBean implements Serializable { 
	private static final long serialVersionUID = 1L;
	@SiColumn(isId = true)
	private String id;// id
	
	@SiColumn(name = "adapter_code")
	private String adapterCode;// 适配器编码
	
	@SiColumn(name = "adapter_name")
	private String adapterName;// 适配器名称
	
	
	@SiColumn(name = "data_code")
	private String dataCode;// 数据分类编码
	
	@SiColumn(name = "adapter_type")
	private String adapterType;// 适配器类型　0全局　1局部
	
	@SiColumn(name = "org_code")
	private String orgCode;// 适配器所属行政区编码
	
	private String status;// 适配器状态 1 正常 2 异常 3 停用
	private Date mtime;// 最后修改时间
	private String remark;// 备注
	
	@SiNotDbColumn
	private String edit;//编码权限
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getAdapterCode() {
		return adapterCode;
	}
	public void setAdapterCode(String adapterCode) {
		this.adapterCode = adapterCode;
	}
	public String getAdapterName() {
		return adapterName;
	}
	public void setAdapterName(String adapterName) {
		this.adapterName = adapterName;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getMtime() {
		return mtime;
	}
	public void setMtime(Date mtime) {
		this.mtime = mtime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	
	public String getDataCode() {
		return dataCode;
	}
	public void setDataCode(String dataCode) {
		this.dataCode = dataCode;
	}
	public String getAdapterType() {
		return adapterType;
	}
	public void setAdapterType(String adapterType) {
		this.adapterType = adapterType;
	}
	
	public String getOrgCode() {
		return orgCode;
	}
	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}
	
	public String getEdit() {
		return edit;
	}
	public void setEdit(String edit) {
		this.edit = edit;
	}
	@Override
	public String toString() {
		return "AdapterBase [id=" + id + ", adapterCode=" + adapterCode
				+ ", adapterName=" + adapterName + ", dataCode=" + dataCode
				+ ", adapterType=" + adapterType + ", orgCode=" + orgCode
				+ ", status=" + status + ", mtime=" + mtime + ", remark="
				+ remark + "]";
	}
	
}
